package com.aaa.market.mapper;

import com.aaa.market.pojo.entity.Advertise;
import com.aaa.market.pojo.vo.AdvVo;
import com.aaa.market.pojo.vo.AdvertiseVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @program: clms-eighth
 * @description:
 * @author: 刘守霖
 * @create: 2021-07-24 15:44
 **/
public interface AdvertiseMapper extends BaseMapper<Advertise> {

    int insertAdvertiseTable(Advertise advertise);


    int delAdvertise(Integer id);

    List<Advertise> chaXun(Integer id);

    int changeAdvertise(Advertise advertise);

    int changeStatus(Integer id, Integer status);

    List<Advertise> selectAll();

    IPage<AdvVo> selectPage1(IPage<AdvVo> page, AdvertiseVo advertiseVo);

    List<Advertise> queryPic();
}
